from django import forms
from django.core.exceptions import ValidationError


class login_form(forms.Form):
    username = forms.CharField()
    password = forms.CharField(max_length=128, min_length=8)


class register_form(forms.Form):
    username = forms.CharField()
    password = forms.CharField(max_length=128, min_length=8)
    email = forms.EmailField()
